package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Collect;
import cn.wolfcode.trip.base.query.SearcheObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectMapper {
    int insert(Collect record);

    void delete(Long strategydetailId);

    Collect get(Long strategydetailId);

    Collect get2(@Param("userId") Long userId, @Param("strategydetailId") Long strategydetailId);

    int selectForCount();

    List<Collect> selectForList(SearcheObject qo);
}